<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich">
    <rich:popupPanel id="#{id}" 
                     domElementAttachment="parent"
                     moveable="false"
                     width="600"
                     autosized="true">
        <f:facet name="header">

            <h:panelGrid columns="2"
                         width="100%"
                         columnClasses="title, right">
                <h:column>
                    <ui:insert name="header">
                        <h:outputText value="Title" />
                    </ui:insert>
                </h:column>
            </h:panelGrid>

        </f:facet>
        <ui:insert name="form">
        </ui:insert>
    </rich:popupPanel>
</ui:composition>